Skip to content

Conversation

@owen-eth
Copy link
Contributor

Describe your changes

Issue ticket number and link

Fixes # (issue)

Checklist before requesting a review

  • I have added tests that prove my fix is effective or that my feature works
  • I have made corresponding changes to the documentation

@owen-eth owen-eth changed the title explorer submission integration feat: explorer submission integration Dec 24, 2025
Copy link
Collaborator

@aloknerurkar aloknerurkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM

apiKey := os.Getenv("EXPLORER_API_KEY")
appCode := os.Getenv("EXPLORER_APPCODE")

if endpoint == "" || apiKey == "" || appCode == "" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is not right. We dont run integration tests here. These are unit tests. In order to do unit tests you should run a mock server and return the values that are expected.

https://github.com/primev/mev-commit/blob/main/tools/preconf-rpc/backrunner/backrunner_test.go#L127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants